import time
from selenium import webdriver

# 准备options
options = webdriver.ChromeOptions()
user_data_dir = r'--user-data-dir=C:\Users\86137\AppData\Roaming\Mozilla\Firefox\Profiles\bedxcrz4.default - release'
options.add_argument(user_data_dir)

# 打开浏览器 (设置options), 请求目标网址
driver = webdriver.Chrome(options=options)
driver.get('https://mail.163.com')

# 退出浏览器
time.sleep(2)
driver.quit()

